<!-- 头部 -->
<div class="layui-header  layui-bg-black">
    <div class="layui-logo layui-hide-xs layui-bg-black">Robin Blog</div>
    <ul class="layui-nav layui-layout-left layui-bg-black">
        <!-- 移动端显示 -->
        <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm" lay-header-event="menuLeft">
            <i class="layui-icon layui-icon-spread-left"></i>
        </li>
        <li class="layui-nav-item layui-hide-xs"><a href="/index.php/index/index">博客管理</a></li>
        <li class="layui-nav-item layui-hide-xs"><a href="/index.php/index/home">用户页</a></li>
        <li class="layui-nav-item layui-hide-xs"><a href="javascript:;">nav 3</a></li>
        <li class="layui-nav-item">
            <a href="javascript:;">待扩展功能</a>
            <dl class="layui-nav-child">
                <dd><a href="javascript:;">menu 11</a></dd>
                <dd><a href="javascript:;">menu 22</a></dd>
                <dd><a href="javascript:;">menu 33</a></dd>
            </dl>
        </li>
    </ul>
    <ul class="layui-nav layui-layout-right layui-bg-black">
        <li class="layui-nav-item layui-show-sm-inline-block">
            <a class="layui-btn" href="/index.php/index/addAt">
                发布文章
            </a>
        </li>
        <li class="layui-nav-item" lay-unselect>
            <a href="javascript:;">
                <img src="https://unpkg.com/outeres@0.0.10/demo/avatar/1.jpg" class="layui-nav-img">
            </a>
            <dl class="layui-nav-child">
                <dd><a href="/index.php/index/userInfo">个人信息</a></dd>
                <dd><a href="javascript:;">设置</a></dd>
                <dd><a href="/index.php/index/clear">登出</a></dd>
            </dl>
        </li>
    </ul>
</div>
